﻿/**
 * Created by small on 2015/4/10.
 */
$(function(){
    //鼠标按下
    $("a.btn").bind('mousedown',function(){
        $(this).css("transform","scale(0.9)");
    });
//鼠标
    $("a.btn").bind('mouseup',function(){
        $(this).css("transform","scale(1)");
    });
    $("a.btn").bind('mouseout',function(){
        $(this).css("transform","scale(1)");
    });
});

function getId(id){
    return document.getElementById(id);
}